home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / Softshoe / Lisa's Mac Parts / Windows / GrayRegion.h < prev    next >
Text File  |  2000-06-23  |  449b  |  31 lines

  1. // GrayRegion.h
  2.  
  3. #ifndef GrayRegion_h
  4. #define GrayRegion_h
  5.  
  6. #ifndef Rectangle_h
  7. #include "Rectangle.h"
  8. #endif
  9.  
  10. #include <QuickDraw.h>
  11.  
  12. class GrayRegion
  13.   {
  14.     private:
  15.         const RgnHandle region;
  16.     
  17.         GrayRegion();
  18.         
  19.         // not implemented:
  20.             GrayRegion( const GrayRegion& );
  21.             void operator=( const GrayRegion& );
  22.     
  23.     public:
  24.         static const GrayRegion& The();
  25.         
  26.         operator RgnHandle() const        { return region; }
  27.         Rectangle Bounds() const;
  28.   };
  29.  
  30. #endif
  31.